package com.fuhe.chen.vendingmachine.dto.cond;

import lombok.Data;

/**
 * 商品信息筛选数据
 */
@Data
public class CommodityCond {

    String commodity_name;

    Integer category;

    Integer commodity_status;

    public void setCommodity_name(String commodity_name) {
        if(commodity_name == null){
            return;
        }
        this.commodity_name = "%"+commodity_name+"%";
    }
}
